package com.hospital.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @author fxy
 * @date 2022/9/1
 */
@Data
public class UserpaylogDto {
    private Integer id;
    private String name;
    //用户的余额变化
    private Double cplus;
    @JsonFormat(pattern = "yyyy-MM-dd")//返回
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date ctime;
}
